<template>
    <div>
        <slot name="slotProp" :user="user" :school="info"></slot>
    </div>
</template>

<script>
    export default {
        name: "child",
        data() {
            return {
                user: {
                    firstName: '123',
                    lastName: '321'
                },
                info:{
                    school:'轻工'
                }
            }
        }
    }
</script>

<style scoped>

</style>